home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / netz / amiconnect / install_amiconnect < prev    next >
Text File  |  1995-07-29  |  5KB  |  242 lines

  1. ;Installer V1.1 For Amiconnect V1
  2. ;
  3. ;©Martin Hunt 1995
  4. ;
  5. ;
  6.  
  7. (set amitcpdir
  8.    (askdir
  9.        (prompt "Where is AmiTCP installed?")
  10.        (help @askdir-help)
  11.        (default "dh1:amitcp")
  12.    )
  13. )
  14.  
  15. (makeassign "amitcp" amitcpdir
  16.  (safe)
  17. )
  18.  
  19. (set acdest
  20.    (askdir
  21.        (prompt "Where do you want Amiconnect to be installed?")
  22.        (help @askdir-help)
  23.        (default "amitcp:bin")
  24.    )
  25. )
  26.  
  27. (makeassign "ac" acdest
  28. (safe)
  29. )
  30.  
  31. (copyfiles
  32.    (prompt "Copying Amiconnect to " acdest )
  33.    (help @copyfiles-help)
  34.    (source "mainprogram")
  35.    (dest acdest)
  36.    (all)
  37.    (infos)
  38. )
  39.  
  40. (makedir "amitcp:docs"
  41.   (infos)
  42.   (safe)
  43. )
  44.  
  45. (set docdest
  46.    (askdir
  47.        (prompt "Where do you want Amiconnects Doc File to be installed?")
  48.        (help @askdir-help)
  49.        (default "amitcp:docs")
  50.    )
  51. )
  52.  
  53. (copyfiles
  54.    (prompt "Copying Amiconnect Docs to " docdest )
  55.    (help @copyfiles-help)
  56.    (source "docs/amiconnect.guide")
  57.    (dest docdest)
  58.    (infos)
  59. )
  60.  
  61. (copyfiles
  62.    (prompt "Copying Amiconnect Docs to amitcp:docs")
  63.    (help @copyfiles-help)
  64.    (source "docs/amiconnect.guide")
  65.    (dest "amitcp:docs")
  66.    (infos)
  67. )
  68.  
  69.  
  70. (copyfiles
  71.  (prompt "Copying News stuff to Amitcp:bin ")
  72.    (help @copyfiles-help)
  73.    (source "amitcp/bin")
  74.    (all)
  75.    (dest "amitcp:bin")
  76.    (infos)
  77.    (confirm)
  78. )
  79.  
  80. (copyfiles
  81.  (prompt "Copying Mail Server to Amitcp:serv ")
  82.    (help @copyfiles-help)
  83.    (source "amitcp/serv")
  84.    (all)
  85.    (dest "amitcp:serv")
  86.    (infos)
  87.    (confirm)
  88. )
  89.  
  90. (copyfiles
  91.  (prompt "Copying Mail Server Inetd Entry to t: ")
  92.    (help @copyfiles-help)
  93.    (source "amitcp/db/inetd.conf.add")
  94.    (dest "t:")
  95.    (infos)
  96. )
  97.  
  98. (run "type t:inetd.conf.add >> amitcp:db/inetd.conf"
  99.    (safe)
  100. )
  101.  
  102. (copylib
  103.    (prompt "Copying Apig.Library to Libs:" )
  104.    (help @copyfiles-help)
  105.    (source "Libs/apig.library")
  106.    (dest "Libs:")
  107.    (infos)
  108.    (confirm)
  109. )
  110.  
  111. (copylib
  112.    (prompt "Copying Rexxserdev.Library to Libs:" )
  113.    (help @copyfiles-help)
  114.    (source "Libs/rexxserdev.library")
  115.    (dest "Libs:")
  116.    (infos)
  117.    (confirm)
  118. )
  119.  
  120. (copylib
  121.    (prompt "Copying Rexxreqtools.Library to Libs:" )
  122.    (help @copyfiles-help)
  123.    (source "Libs/rexxreqtools.library")
  124.    (dest "Libs:")
  125.    (infos)
  126.    (confirm)
  127. )
  128.  
  129. (copylib
  130.    (prompt "Copying Rexxsupport.Library to Libs:" )
  131.    (help @copyfiles-help)
  132.    (source "Libs/rexxsupport.library")
  133.    (dest "Libs:")
  134.    (infos)
  135.    (confirm)
  136. )
  137.  
  138. (makedir "amitcp:usr"
  139.   (infos)
  140.   (safe)
  141. )
  142. (makedir "amitcp:usr/mail"
  143.   (infos)
  144.   (safe)
  145. )
  146. (makedir "amitcp:usr/news"
  147.   (infos)
  148.   (safe)
  149. )
  150. (makedir "amitcp:usr/spool"
  151.   (infos)
  152.   (safe)
  153. )
  154. (makedir "amitcp:usr/lib"
  155.   (infos)
  156.   (safe)
  157. )
  158. (message "I now need to setup your news,mail,spool and lib directory\nIf this is your first AmiTCP setup just use the defaults\nif not specify your current directories" (SAFE))
  159.  
  160. (set uunewsdir
  161.    (askdir
  162.        (prompt "Where is your uunews: directory")
  163.        (help "This is the directory where all your \n news articles will be stored")
  164.        (default "amitcp:usr/news")
  165.    )
  166. )
  167. (set uumaildir
  168.    (askdir
  169.        (prompt "Where is your uumail: directory")
  170.        (help "This is the directory where all your \n mail will be stored")
  171.        (default "amitcp:usr/mail")
  172.    )
  173. )
  174. (set uulibdir
  175.    (askdir
  176.        (prompt "Where is your uulib: directory")
  177.        (help "This is the directory where various files are stored/n including your newsgroup, signature, header and config files/n/n It is NOT your libs: library directory")
  178.        (default "amitcp:usr/lib")
  179.    )
  180. )
  181. (makeassign "uulib" uulibdir (SAFE))
  182. (set uuspooldir
  183.    (askdir
  184.        (prompt "Where is your uuspool: directory")
  185.        (help "This is the directory where all your \n outgoing mail, news and the incoming news batchfile \nwill be stored")
  186.        (default "amitcp:usr/spool")
  187.    )
  188. )
  189.  
  190. (set intro ("; This file contain assigns to important directories\n"))
  191. (set intro2 ("; You may need to change the from what values are set\n"))
  192. (set firststline ("path amitcp:bin add \n"))
  193. (set line2 ("assign uunews: %s \n" uunewsdir))
  194. (set line3 ("assign uumail: %s \n" uumaildir))
  195. (set line4 ("assign uuspool: %s \n" uuspooldir))
  196. (set line5 ("assign uulib: %s \n" uulibdir))
  197.  
  198. (textfile
  199.    (dest "amitcp:bin/amiconnect.dos")
  200.    (append intro)
  201.    (append intro2)
  202.    (append firstline)
  203.    (append line2)
  204.    (append line3)
  205.    (append line4)
  206.    (append line5)
  207. )
  208.  
  209. (textfile
  210.    (dest "t:newsgroups")
  211.    (append "comp.sys.amiga.announce 7\n")
  212.    (append "comp.sys.amiga.misc 7\n")
  213.    (append "demon.ip.support.amiga 7\n")
  214. )
  215.  
  216. (textfile
  217.    (dest "uulib:seq")
  218.    (append "1")
  219. )
  220.  
  221. (textfile
  222.    (dest "t:tmpaliases")
  223.    (append "Postmaster: $user")
  224. )
  225.  
  226. (run "type t:tmpaliases >> uulib:aliases"
  227.    (safe)
  228. )
  229.  
  230. (run "type t:newsgroups >> uulib:newsgroups"
  231.    (safe)
  232. )
  233.  
  234. (message "Starting Amiconnect Configuration Program"
  235.  (SAFE)
  236. )
  237.  
  238. (run "ac:amiconnect"
  239.    (safe)
  240. )
  241.  
  242.